package com.cnap.model.strategy.schedule;

import com.cnap.model.schedule.engine.DeployPolicyConfigV2;

/**
 * v2.0， 通用策略dto
 *
 * @author xc
 **/
public abstract class CommonScheduleDTO {
    // 占用百分比
    private int percent;

    /**
     * 转换成configV2
     *
     * @return 结果
     */
    public abstract DeployPolicyConfigV2 toConfigV2();

    /**
     * get
     *
     * @return Percent
     */
    public int getPercent() {
        return percent;
    }

    /**
     * set
     *
     * @param percent percent
     */
    public void setPercent(int percent) {
        this.percent = percent;
    }

}
